<?php
namespace Shama;
/**
 * Address Object.
 *
 * It represant an abstract address.
 *
 * @author Xavier VILAIN
 * @package Shama
 * @property int 	$adrid 			Address Entry Id
 * @property string $title			Title (Mr,Mme..)
 * @property string $first_name		First Name
 * @property string $last_name		Last Name
 * @property string $street			Street
 * @property string $city			City
 * @property string $postal_code	Postal Code
 */
class Address extends \Fox\Object {

	/**
	 * Link to the Contact object
	 * @var string
	 */
	const LINK_CONTACT = "contact";

	/**
	 * Link to the Customer object
	 * @var string
	 */
	const LINK_CUSTOMER = "customer";

	/**
	 * Link to the Company object
	 * @var string
	 */
	const LINK_COMPANY = "company";
}
\Fox\Dao::infos(
	Address::className(),
	new \Fox\Object\Info('address', \Fox\Databases::DB_APP)
);